import React from "react";
import MRouter from "./router/IndexRouter"
import Tabbar from "./components/Tabbar";
import "./views/css/App.css"
import {connect} from "react-redux";

function App(props) {

    return <div>
        <MRouter>
            {props.isShow && <Tabbar/>}
        </MRouter>
    </div>
}

export default connect((state) => {
    return {
        isShow: state.TabbarReducer.isShow,
    }
})(App)